import React, { Component } from 'react';
import PropTypes from 'prop-types'


class MyTitle extends Component{
    render(){
        return (
            <h1>Hello, {this.props.title}</h1>
        );
    }
}

MyTitle.propTypes = {
    title: PropTypes.string
};

